home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 25
/
Aminet 25 (1998)(GTI - Schatztruhe)[!][Jun 1998].iso
/
Aminet
/
comm
/
misc
/
PData352.lha
/
PData
/
PData.DOC
< prev
Wrap
Text File
|
1998-03-10
|
11KB
|
231 lines
PDATA DOCUMENTATION
-------------------
Release version : 3.52 final
Date : Saturday, 3rd February 1995
(This textfile was last modified on 10th March 1998)
Copyright © 1993-1995 Deadbeat/The Sharks
(C64 coding, optimized cable schematics, documentation)
Copyright © 1993 Hude
(Amiga coding)
1. OVERVIEW
PData is an utility for transfering both binary and text files between
the C64/C128 and Amiga, employing a high-speed parallel cable. It's
about 25 times faster than a null modem cable -- the maximum rate in a
standard, non-expanded C64 is 2.4Kbps. Best of all, it leaves your
Amiga's serial port free for other applications; yes, this means that
while you're porting software over to the C64, you can download more! :)
2. DISTRIBUTION AND DISCLAIMER
PData may be freely distributed as long as all files are included
intact and as long as no more than a nominal fee is charged to cover
time and copying costs. PData may NOT be used for commercial purposes
without a written permission from the author(s). The author(s) can't be
held liable for any damage directly or indirectly caused by the use or
misuse of this manual and/or the program it describes. PData is provided
"as-is" and it is a subject to change without notice.
You will most likely find the latest version of PData from The Sharks
world wide web homepage, located at http://stekt.oulu.fi/~mysti/the_sharks
If you like this program, feel free to send the author some e-mail.
3. REQUIREMENTS
The C64 end of PData will work in every C64/C128. The Amiga end of PData
will - hopefully - work in every model, but Kickstart v37.175 (v2.04) or
above is required to utilize all features. A special cable between the
C64 and Amiga is required. The following things are needed for the cable:
- One card edge connector (C64 user port)
- One male D-25 connector (Amiga parallel port)
- Suitable length of flat cable (12 wires or more)
Additionally, you'll need the following files for your Amiga...
- Devs:Parallel.device
- L:Port-handler
- Libs:Asl.library
- Libs:Locale.library
This shouldn't be a problem, if you've installed Workbench properly. :)
4. PDATA CABLE SCHEMATICS
C64 user port Amiga parallel port
Pin Description Description Pin
B FLAG* ----------- STROBE 1
C PB0 ------------- DATA 0 2
D PB1 ------------- DATA 1 3
E PB2 ------------- DATA 2 4
F PB3 ------------- DATA 3 5
H PB4 ------------- DATA 4 6
J PB5 ------------- DATA 5 7
K PB6 ------------- DATA 6 8
L PB7 ------------- DATA 7 9
8 PC* ------------- ACK* 10
M PA2 ------------- BUSY 11
N GND ------------- GND 17
Inspect the C64 user port's pin order carefully before and after
soldering. The user's manual provided with the C64 (or C128) helps
considerably. That is, if you still got it somewhere...
5. USING PDATA C64
Using PData C64 is fairly easy. You'll first be prompted for your work
drive. Any device between 8 and 11 will do. Then you can select whether
to handle your files as binary or text. If you select binary, the files
will be transfered without any alterations. Selecting text mode will
cause everything to be translated from PETSCII to ASCII and vice versa.
The next step is to decide whether to send or receive files. At this
point, you can press "," to access a SEQ file handler, using which you
can print out or view sequential files. Assuming that you didn't enter
the SEQ file handler, you now can press F1 to toggle between normal/zip
mode. If zip mode is on, PData will add those 1! 2! 3! and 4! prefixes
in front of each zip disk-packed file automatically and you only need
to worry about fourteen last characters. If you start receiving a file
in single mode, you'll be prompted whether to process files as PRG or
SEQ. If a file exists, you'll be given a chance to regret. You can use
"$" (CR = $ as Default) to see directory, "@" for DOS commands and "?"
to see number of free blocks available on disk. Pressing "=" at all
times (Except in multi-file transfer menu) will take you one step
"backwards" in the menus. In zip mode, you can individually decide
which of the files should be overwritten. Pressing F3 will take you
to multi-file transfer menu. In multi-file transfer menu, press F1 for
sending files, F3 for receiving files, F5 for directory and F7 for main
menu. After pressing F1, you can use Y/N to select files. Pressing CR
(Return) will quit or start transfer, depending if you've got any files
selected. After pressing F3, you can enter target filenames. Leave one
blank line and hit CR to start transfer. Multi-file transfer can handle
255 files both directions. It handles only binary PRG files and never
overwrites it's target files. At ALL times, pressing restore will clear
the channel, initialize vectors and restart the program. If you're in
doubt of something, just try it. The chances are, you won't seriously
damage anything.
6. USING PDATA AMIGA
pdata (s/r/?) (path/filename)
(s = send / r = receive / ? = help)
Example : pdata r dh1:dl/c64_rules.txt
Pressing CTRL+C will - hopefully - abort transfer. Use it in combination
with RESTORE in the C64 end to gain maximum effect. If you have a
MultiFaceCard (MFC) in your Amiga, remember you must use the PData.CFG
in S: directory to re-route PAR: into PIT:. Edit the file so that it
reads PIT:<CR>. If you're using your Amiga from a floppy, I suggest you
redirect the files into RAM: when receiving something from the C64.
Just try to receive something on a floppy, and you'll know why!
Yes, takes ages, due to a small missing feature: a receive buffer. :(
7. MISCELLANEOUS
Configuring your regular directory tool for PData makes your life much
easier. I highly recommend DiskMaster 2 myself; it's lightweight and uses
resources efficiently. You can find it on Aminet: util/dir/DiskMaster.lha
Once you've made the first transfer after turning both of your
computers on, you can ignore the C64's on-screen prompts about setting
the other end to send/receive mode. This is because once the Amiga's
port-handler has been "activated", PData can't "lose" anything. When
transfering PData mainfile (PDATA.C64) to the C64, you MUST use the
filename "PDATA 3.5-SHARKS". To transfer the file, try a null modem
cable. Schematics are supplied below. You'll need a RS-232 adapter for
the C64 and a suitable terminal program for both ends. If, however, you
should experience problems in doing so, e-mail me and I'll try to
help you out.
8. NULL MODEM CABLE SCHEMATICS
Pin Description Description Pin
2 TXD ------------- RXD 3
3 RXD ------------- TXD 2
4 RTS ------------- DCD 8
6 DSR ------------- DTR 20
7 GND ------------- GND 7
8 DCD ------------- RTS 4
20 DTR ------------- DSR 6
9. BUGS AND MISSING FEATURES
C64 end: - None known, although there has been some reports about
problems with multi-file transfers.
Amiga end: - Sometimes refuses to work if a filename ends with "+".
- Refuses to work if a filename contains any spaces.
- Receive buffer missing - major slowdown on slow mediums.
...
PData doesn't send a header containing a filename. This is NOT a bug,
but something that was supposed to be added in the forthcoming release.
See future, just a few lines below.
Just a little bit on the trivia side, you should know that PData can be
used to transfer data between two C64's or two Amiga's with minor cable
modifications. Hardware wizards may figure this one out on their own.
10. FUTURE
This version of PData is the last released one. Even if this documentation
is revised in march 1998, the program files aren't. The development of
PData stalled four years ago, simply because the lack of a qualified
Amiga coder. I coded the entire C64 end of PData from scratch,
designed a really nice user interface, and fixed most of the flaws
present in this release. File size, name and some other info were
supposed to be transfered in a small pre-header. But, without any
support for these features in the Amiga end, the new fancy features
are pretty much obsolete, wouldn't you think? The change would've
been a radical, dramatic one. Not only in terms of speed, but
also flexibility, usability and not to forget - reliability.
Still, PData is highly reliable and very stable, as it is. There have
been some other programs employing the very same cable as PData and
also parts of the code. The likelihood of these programs ever being
available to the public is very low. Somehow, people like to keep
programs of this nature strictly for their own use. That usually
means non-finished, non-polished programs, with lots of bugs --
traps waiting to be stumbled into, that the coder himself can
easily avoid, because he made it for himself. :)
As for resuming the PData project, I don't know. If there's enough
demand for a program like this, and if a qualified Amiga coder
volunteers for the project, then maybe. What the hell, code your
own PData clone if you like; rip the bare essentials from my code
and prove you can do better! All I really care about is a program
that does what it's supposed to -- in this case, transfer data
between C64 and Amiga reliably and rather fast, too.
11. GETTING IN TOUCH WITH ME...
E-MAIL: deadbeat@iwn.fi
WWW: http://stekt.oulu.fi/~mysti/the_sharks
IRC: Deadbeat (Usually on #C-64)
SNAIL: (Buah, you've got to be kidding me! Snailmail's DEAD!)
Questions? Comments? Flames? Don't hesitate, drop me some e-mail!
If you're on IRC, and you see me around, feel free to /msg me.
I'm on "the European side of the EFNet split", or as it might be
better known as, IRCNet. There, the channel #C-64 is highly
recommended for anyone with (some) C64 past.
As far as making PData cables is concerned, I don't have
time to make any, nor do I know of a voluntary person.
Consider the making of a PData cable as a lamer-protection! ;)
By the way, if it's C64 stuff you're after, we're offering plenty on
our web page. Mostly golden oldies, all the best games and demos ever.
In an emulator-free format, i.e., stored in formats used by the Real
Thing. Do some exploration on our web page's main index, or go straight
to http://stekt.oulu.fi/~mysti/the_sharks/online.html
Thank you for reading this far. Hope the program proves useful for you!
- Deadbeat/The Sharks